﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="News.ascx.cs" Inherits="News_Control_News" %>
<%@ Register Src="~/Admin/Control/Pager/Pager.ascx" TagName="Pager" TagPrefix="uc1" %>


    
<div>
    <h1><asp:Label ID="lbTittle" runat="server" ></asp:Label></h1>
    
                   <div class="box-content">
                    <div class="tintuc">
                        <ul>
                          <asp:Repeater ID="rep" runat="server">
                            <ItemTemplate>
                              <li>
                                <p class="thumb">
                                    <img src='<%# !string.IsNullOrEmpty(Eval("Photo").ToString()) ? Eval("Photo").ToString() : "../images/no-image.png" %>'/>
                                </p>
                                <h3>
                                    <a href='/News/Detail.aspx?t=tin-tuc&textid=<%# Eval("IntId") %>'><%# Eval("title_vn") %></a>
                                </h3>
                                <p class="small">
                                    <%#DateTime.Parse(Eval("CreatedDate").ToString()).ToString("dd/MM/yyyy") %>    
                                </p>
                                <p><%# Eval("Absolute_vn") %></p>
                            </li>
                            </ItemTemplate>
                         </asp:Repeater>
                        </ul>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                  
</div>
<uc1:Pager ID="Pager1" runat="server" />